﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DomainModel;

namespace MusicManagerDAO.Interfaces
{
    public interface IMusicDao
    {
        DomainModel.Music FindByUserIdAndName(DomainModel.User user, string name);
        IEnumerable<DomainModel.Music> FindAllForUser(DomainModel.User user);
        IEnumerable<DomainModel.Music> FindAll();

        bool Insert(DomainModel.Music music);
    }
}
